package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.BaseAttrInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: 李旭
 * @create: 2021-07-05 10:22
 **/
public interface BaseAttrInfoMapper extends BaseMapper<BaseAttrInfo> {

    //查询平台属性及值集合  入参 ： 一二三级分类Id   手写SQL
    List<BaseAttrInfo> attrInfoList(
            @Param("category1Id") Long category1Id,
            @Param("category2Id") Long category2Id,
            @Param("category3Id")Long category3Id);
}
